package com.fz.study.project.service;

import com.fz.study.project.entity.AdminUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fz.study.project.entity.dto.LoginDto;
import com.fz.study.project.entity.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-02-05
 */
public interface IAdminUserService extends IService<AdminUser> {

    Result loginByName(LoginDto loginDto);

    void saveByName(AdminUser user);

    void updateByUser(AdminUser user);

    void deleteByIds(List<Integer> ids);

    void updateWithPassword(AdminUser adminUser);
}
